// default package
// Generated 28 Jul, 2014 8:04:07 PM by Hibernate Tools 3.4.0.CR1
package com.galaxy.bean;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.UniqueConstraint;

/**
 * CoreEmailTemplate generated by hbm2java
 */
@Entity
@Table(name = "core_email_template", catalog = "magento", uniqueConstraints = @UniqueConstraint(columnNames = "template_code"))
public class CoreEmailTemplate implements java.io.Serializable {

	private Integer templateId;
	private String templateCode;
	private String templateText;
	private String templateStyles;
	private Integer templateType;
	private String templateSubject;
	private String templateSenderName;
	private String templateSenderEmail;
	private Date addedAt;
	private Date modifiedAt;
	private String origTemplateCode;
	private String origTemplateVariables;

	public CoreEmailTemplate() {
	}

	public CoreEmailTemplate(String templateCode, String templateText,
			String templateSubject) {
		this.templateCode = templateCode;
		this.templateText = templateText;
		this.templateSubject = templateSubject;
	}

	public CoreEmailTemplate(String templateCode, String templateText,
			String templateStyles, Integer templateType,
			String templateSubject, String templateSenderName,
			String templateSenderEmail, Date addedAt, Date modifiedAt,
			String origTemplateCode, String origTemplateVariables) {
		this.templateCode = templateCode;
		this.templateText = templateText;
		this.templateStyles = templateStyles;
		this.templateType = templateType;
		this.templateSubject = templateSubject;
		this.templateSenderName = templateSenderName;
		this.templateSenderEmail = templateSenderEmail;
		this.addedAt = addedAt;
		this.modifiedAt = modifiedAt;
		this.origTemplateCode = origTemplateCode;
		this.origTemplateVariables = origTemplateVariables;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "template_id", unique = true, nullable = false)
	public Integer getTemplateId() {
		return this.templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	@Column(name = "template_code", unique = true, nullable = false, length = 150)
	public String getTemplateCode() {
		return this.templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	@Column(name = "template_text", nullable = false, length = 65535)
	public String getTemplateText() {
		return this.templateText;
	}

	public void setTemplateText(String templateText) {
		this.templateText = templateText;
	}

	@Column(name = "template_styles", length = 65535)
	public String getTemplateStyles() {
		return this.templateStyles;
	}

	public void setTemplateStyles(String templateStyles) {
		this.templateStyles = templateStyles;
	}

	@Column(name = "template_type")
	public Integer getTemplateType() {
		return this.templateType;
	}

	public void setTemplateType(Integer templateType) {
		this.templateType = templateType;
	}

	@Column(name = "template_subject", nullable = false, length = 200)
	public String getTemplateSubject() {
		return this.templateSubject;
	}

	public void setTemplateSubject(String templateSubject) {
		this.templateSubject = templateSubject;
	}

	@Column(name = "template_sender_name", length = 200)
	public String getTemplateSenderName() {
		return this.templateSenderName;
	}

	public void setTemplateSenderName(String templateSenderName) {
		this.templateSenderName = templateSenderName;
	}

	@Column(name = "template_sender_email", length = 200)
	public String getTemplateSenderEmail() {
		return this.templateSenderEmail;
	}

	public void setTemplateSenderEmail(String templateSenderEmail) {
		this.templateSenderEmail = templateSenderEmail;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "added_at", length = 19)
	public Date getAddedAt() {
		return this.addedAt;
	}

	public void setAddedAt(Date addedAt) {
		this.addedAt = addedAt;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "modified_at", length = 19)
	public Date getModifiedAt() {
		return this.modifiedAt;
	}

	public void setModifiedAt(Date modifiedAt) {
		this.modifiedAt = modifiedAt;
	}

	@Column(name = "orig_template_code", length = 200)
	public String getOrigTemplateCode() {
		return this.origTemplateCode;
	}

	public void setOrigTemplateCode(String origTemplateCode) {
		this.origTemplateCode = origTemplateCode;
	}

	@Column(name = "orig_template_variables", length = 65535)
	public String getOrigTemplateVariables() {
		return this.origTemplateVariables;
	}

	public void setOrigTemplateVariables(String origTemplateVariables) {
		this.origTemplateVariables = origTemplateVariables;
	}

}
